
cap log close
log using "$output/an-collinearity.log", replace


	use "$data/commonsamp", clear
	
	// Merge with covariates
	merge 1:1 countyid using "$data/seda_covariates_clean", assert(2 3) nogen keep(3)
	
	// Merge with bias
	merge 1:1 countyid using "$data/mrp_data", assert(2 3) nogen keep(3)
	
	// Collinearity
	collin ppexp_inst-percharterwhtblk all_imp_bias
	collin ppexp_inst-percharterwhtblk all_exp_bias	

	keep if tchsamp
	
	collin ppexp_inst-percharterwhtblk all_imp_bias
	collin ppexp_inst-percharterwhtblk all_exp_bias	
	collin ppexp_inst-percharterwhtblk tch_imp_bias
	collin ppexp_inst-percharterwhtblk tch_exp_bias		
	

	log close	
